Total Complexity | 48 |
Dependencies | 2 |
Dependents | 3 |
Total lines | 343 |
Lines of code | 119 |
Logical lines of code | 66 |
Comment lines | 171 |
Methods | 15 |
Properties | 8 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
is_valid_commission_data() | 49 | 20 | 29 | |
get_valid_commission_settings() | 50 | 11 | 27 | |
calculate() | 58 | 3 | 16 | |
is_applicable() | 65 | 3 | 9 | |
__construct() | 75 | 1 | 4 | |
get_meta_data() | 82 | 1 | 3 | |
set_meta_data() | 77 | 1 | 4 | |
get_type() | 82 | 1 | 3 | |
get_parameters() | 70 | 1 | 6 | |
get_source() | 81 | 1 | 3 | |
is_valid_commission_type() | 79 | 1 | 3 | |
get_admin_commission() | 82 | 1 | 3 | |
get_vendor_earning() | 82 | 1 | 3 | |
get_per_item_admin_commission() | 80 | 1 | 3 | |
get_items_total_quantity() | 82 | 1 | 3 |